Apparatus and method for generating a three-dimensional representation from a two-dimensional image

ABSTRACT

An apparatus for generating a three-dimensional representation from a two-dimensional image has a memory device for storing information for processing a two-dimensional image and for generating a three-dimensional image from the two-dimensional image, a processing device for processing a digital representation of an image by generating a two-dimensional image from the digital representation and by generating a three-dimensional image corresponding to the two-dimensional image, and an output device for outputting a three-dimensional image and a digital signal representation of the three-dimensional image. An associated method is also disclosed.

[0001] The present invention pertains to an apparatus and a method for generating and/r for obtaining a three-dimensional representation from a two-dimensional image and, in particular, to an apparatus and a method f r generating a three-dimensional image from a two-dimensional image.

[0002] The apparatus includes a central processing computer, a network computer, and/or a server computer, and any number f computers, remote computers, client computers and/r any other communication devices, for facilitating communication with the respective central processing computer, network computer and/or server computer. Each of the respective computers and/or communication devices can include any necessary and/or desired hardware, peripheral devices, and/or software, for performing any of the respective processing routines and/or functionally described herein.

[0003] The apparatus and method of the present invention can be utilized to generate three-dimensional images from any type of two-dimensional images and/or from any other images and/or representations of images, digital and/or otherwise. In this regard, the scope of the present invention is not to be construed to be limited by and/or to any specific examples and/or applications which are described herein.

[0004] Table of contents:

[0005] 1) Introduction

[0006] 2) Algorithm Overview

[0007] a) Principal Component Analysis

[0008] b) Finding Faces in 2D

[0009] c) Converting 2D to 3D

[0010] 3) Data

[0011] 4) References

[0012] 1) Introduction:

[0013] This document describes a technique that can be used to obtain a 3D representation of the human face from a 2D image. The requirements of such a technique are briefly outlined as data inputs and data outputs. The data input requirements are broadly described as a 2D digital image of a human face, more detailed requirements (such as image resolution, focus etc.) are given in subsequent sections. The data output requirements can be loosely described as faithful 3D representation of a human face incorporating the original 2D image as a texture map. A more rigorous definition of the phrase ‘faithful representation’ is given in subsequent sections in the form of assumed market requirements. For example, a low polygon count low accuracy requirement for the games market or a high polygon count high accuracy requirement for the mug shot market. These requirements impact on all aspects of the algorithm and its application. However, the underlying technique remains unchanged. Many different medical applications have benefited from the use of statistical modelling algorithms, from the location and tracking of the ventricles in the human heart from a sequence of ultrasonic images to 3D modelling of brain sulci. Section 4 provides 3 references describing some of the applications of the technique. For more references (and more details) the reader is referred to the Wolfson Image Analysis Unit web site which can be found at: www.wiau.man.ac.uk.

[0014] 2) Algorithm Overview:

[0015] The algorithm is based upon a multivariate mathematical modelling technique called principal component analysis (PCA). PCA provides a compact statistical representation of the variation in an n-dimensional data set.

[0016] 2a) Principal Component Analysis:

[0017] A simple illustration of PCA can be seen in FIG. 1. The data set consists of many data points, each point is represented by two variables (x and y dimensions). However, the graph demonstrates how each data point can be represented by a single variable and what is termed a basis change. The basis change effectively re-orients the axes so that one axis lies al ng the line of most variation (in this case the positive diagonal) and the other axes lies along the line of the next greatest variation (in this case the negative diagonal, with zero variation). The resulting effect f this basis chang allows each data point to be represented by a single variable describing the distance along the positive diagonal (i.e. the axis of most variation). Thus, a more compact representation is achieved.

[0018] The application of PCA to data representing real world variables (such as the 2D position of eyes in an image of a human face) obtained from a statistically significant training set results in a more compact representation. Additionally, the statistically modelled axes often represent more meaningful modes of variation. Taking the example of the human face, a simplistic illustration can be visualised as the first mode of variation describing the aspect ratio of human faces, whilst the second may describe the size of the mouth etc.

[0019] 2b) Building a 2D Face Model:

[0020] The 2D face model is constructed from an annotated training set of 2D images. An example of an annotated 2D image is given in FIG. 1.

[0021] Each point in the annotation represents 2 variables (x position and y position) and each annotation contains no points. Thus, a single observation vector containing 2n variables describes the face shape. To construct a statistical model of face shape the training set of observation vectors is first normalised to remove scale and pose. That, is, each face shape is rotated (pose) and scaled with respect to either the mean (average) shape or with respect to the first shape in the training set. Model building then proceeds by constructing the covariance matrix from the training set of normalised observation vectors.

[0022] Eigen analysis is performed on the covariance matrix to extract a set of orthogonal eigen vect rs that describe the basis change from 2D face space to a set of principal components. The dimensionality of the matrix of eigen vectors (P) can be significantly reduced by ordering the column eigen vectors in terms of decreasing eigen values. The eigen values are equal to the variance in each orthogonal axis described by the eigen vectors. In real data sets the number of eigen values required to describe 90-95% of the training data set variation can be as small as ten. Thus for an observation vector with 200 elements (100 points) the required number of variables (also known as principal components) to describe a face shape has been reduced by a factor of 20, i.e. a m re compact representation of face shape. Additionally, each of the principal components represents a mode of variation that describes a more meaningful variation.

x _(i) =Pb _(i) +m   Eqn 1

[0023] Where,

[0024] x_(i)=i th observation vector, i.e. the annotation points

[0025] P=orthogonal matrix of eigen vectors

[0026] b_(i)=i th reduced dimensionality vector of principal components

[0027] m=means observation vector, i.e. the average face annotation

b _(i) =P ^(T)(x _(i) −m)   Eqn 2

[0028] Using equation 1 a vector of principal components can be converted into an observation vector and hence a face shape. As matrix P is orthogonal equation 2 can be used to convert an observation vector into a vector of principal components.

[0029] 2c) Finding Faces in 2D:

[0030] Once a mathematical model representing the human face has been training using a statistically significant (for example a realistic cross-section, adequately representing the variation of human faces) training set of 2D images of faces, it can be used to find the face in a 2D image. Thus, given a new image of a face (i.e. not in the training set) the relevant parts of the face (e.g. eyes, chin, etc) can be automatically found. To find the face an iterative search strategy is used. The mean observation vector (m) is used to provide and initial estimate of the location of the face in the 2D image. Subsequently, local searches for relevant features (a feature can simply be an edge on which an annotation point lies) at each annotation point are performed and used to estimate a new position for the face annotation in the image. At each iteration the model is used to best estimate the most realistic position of the face annotation. The best estimate is obtained by calculating the b vector of principal components from the new face annotation (eqn. 2). The b vector is then used to obtain the best annotation estimate (x) (eqn. 1). The iterative process continues until the values in the b vector are approximately constant The model, therefore, constrains the search to be statistically realistic until the face is found.

[0031] The speed of the search strategy can be improved by utilising a multi-resolution approach. In this case the image is smoothed (gaussian smoothing) and sub sampled by a factor of two, thus producing an image half the size of the original. The sub-sampled image is smoothed and again sub sampled resulting in an image one quarter the size of the original. Th smoothing and sub-sampling continues to produced a pyramid of images. The positions of the annotations are adjusted (by factors of two) to produce annotations at each image resolution (level in the pyramid). A PCA model is built at each resolution level. The face is found in a new image as follows. First build the image pyramid from the original image. Then apply the lowest resolution model to the lowest resolution image, i.e. find the face in the low resolution image. The resulting found face position is used as the initial estimate to start the search in the next resolution. This process continues until the face is found at the highest resolution (i.e. the original image).

[0032] 2c) Converting 2D to 3D:

[0033] The construction of a 3D representation of the face can be achieved in two ways, both of which are driven by output requirements. A simple generic 3D representation can be texture mapped from the 2D face image after the face has been found using the technique briefly illustrated above. This may be adequate for s me markets (such as the games market, where faithful 3D reconstruction may not be a requirement). The second technique requires building a 3D statistical model of human faces in exactly the same way as the 2D face model but this time using 3D data. For the 3D case each point is described by 3 variables (x,y,z). In this way the 2D face can be found as above and used as input to the 3D face model, which can then reconstruct the most realistic estimate of the 3D face based n the 2D face. How realistic the resulting 3D model is will depend n the statistical significanc n the training sets (2D and 3D) and the parametric representation (for example, representing the lips with 2 lines or 3). Theory suggests that a faithful representati n can always b achieved if the training sets contain the variability present in the populace. However, in practice this will hav t be quantified via a technique such as leave-one-out testing, as one can never assume that the variability has been adequately captured. (As an aside I have worked with researchers that successfully produced 2D face models that were capable of finding faces in new (unseen) images. The models were built from databases containing approximately 50-100 faces).

[0034] 3) Data:

[0035] The 2D face image must have a resolution that can faithfully represent facial features. It has been shown that an image from a standard digital camera or an image scanned via a standard flat-bed document scanner provides sufficient resolution to faithfully represent the relevant facial features. It may be possible to reconstruct the face from a low resolution 2D image, however, this remains to be tested.

[0036] The face image must be a front facing image. It is not crucial to position the face in the centre of the image, however, for successful texture mapping the whole of the face must be present in the image. The technique can always provide a best estimate of the position of the facial features, however, the accuracy of their location will be adversely affected by the focus of the image. Badly focussed images can lead to incorrect feature location and will result in a blurred texture map.

[0037] The number of 3D faces in the training set is the significant factor effecting the faithful representation of the 3D face. If a relatively low faithful representation is required the number of 3D faces in the training set may be as low as 30. Again, this remains to be determined. To produce and apply models that are adequate for markets requiring a highly faithful 3D representation, the training sets must be large enough to capture the variability of the human face. In pursuing these markets, bearing in mind the extra resource required to produce the models, the same models can be used for all markets.

[0038] The apparatus and method of the present invention can process financial transactions and/or financial transaction information. Financial transactions can be processed in conjunction with the image processing routine described herein in order to facilitate the utilization of the present invention in a commercial environment.

[0039] 5) References. Applicant hereby incorporates by reference herein the subject matter and teachings of the following references.

[0040] 1) Cootes et al: “Training models of shape from sets of examples”, Proc: British Machine Vision Conference, Springer-Verlag, 1992 pp 9-18.

[0041] 2) Cootes et al: “Active Shape Models—Smart Snakes”, in Proc: British Machine Vision Conference, Springer-Verlag, 1992, pp.266-275.

[0042] 3) Lanitis et al: “A unified approach to coding and interpreting face images”, Proc: ICCV 1995, pp.368-373. 

What is claimed is:
 1. An apparatus for generating a three-dimensional representation from a two-dimensional image, comprising: a memory device for storing information for processing a two-dimensional image and information for generating a three-dimensional image from said two-dimensional image; a processing device for processing a digital representation of an image, wherein said processing device generates a two-dimensional image from said digital representation of an image, and further wherein said processing device generates a three-dimensional image corresponding to said two-dimensional image; and an output device for outputting at least one of said three-dimensional image and a digital signal representation of said three-dimensional image.
 2. A method for generating a three-dimensional representation from a two-dimensional image, comprising: storing information for processing a two-dimensional image and information for generating a three-dimensional image from said two-dimensional image; processing a digital representation of an image; generating a two-dimensional image from said digital representation of an image; generating a three-dimensional image corresponding to said two-dimensional image; and outputting at least one of said three-dimensional image and a digital signal representation of said three-dimensional image.
 3. An apparatus for generating a three-dimensional representation from a two-dimensional image, comprising: a receiver for receiving a digital representation of an image; a memory device for storing information for processing a two-dimensional image and information for generating a three dimensional image from said two-dimensional image; a processing device for processing said digital representation of an image, wherein said processing device generates a two-dimensional image from said digital representation of an image, and further wherein said processing device generates a three-dimensional image corresponding to said two-dimensional image; and at least one of an output device, for outputting at least one of said three-dimensional image and a digital signal representation of said three-dimensional image, and a transmitter for transmitting at least one of said three-dimensional image and a digital signal representation of said three-dimensional image to a one of computer and a communication device over a communication network.
 4. An apparatus for generating a three-dimensional representation from a two-dimensional image, comprising: a receiver for receiving a digital representation of an image; a processing device for processing said digital representation of an image, wherein said processing device generates a two-dimensional image from said digital representation of an image, and further wherein said processing device generates a three-dimensional image corresponding to said two-dimensional image; and at least one of an output device, for outputting at least one of said three-dimensional image and a digital signal representation of said three-dimensional image, and a transmitter for transmitting at least one of said three-dimensional image and a digital signal representation of said three-dimensional image, to a one of computer and a communication device over a communication network.
 5. A method for generating a three-dimensional representation from a two-dimensional image, comprising: receiving a digital representation of an image; storing information for processing a two dimensional image and information for generating a three-dimensional image from said two-dimensional image; processing said digital representation of an image; generating a two-dimensional image from said digital representation of an image; generating a three-dimensional image corresponding to said two-dimensional image; and at least one of outputting at least one of said three-dimensional image and a digital signal representation of said three-dimensional image, and transmitting at least one of said three-dimensional image and a digital signal representation of said three-dimensional image, to a one of computer and a communication device over a communication network.
 6. A method for generating a three-dimensional representation from a two-dimensional image, comprising: receiving a digital representation of an image; processing said digital representation of an image; generating a two-dimensional image from said digital representation of an image; generating a three-dimensional image corresponding to said two-dimensional image; and at least one of outputting at least one of said three-dimensional image and a digital signal representation of said three-dimensional image, and transmitting at least one of said three-dimensional image and a digital signal representation of said three-dimensional image, to a one of computer and a communication device over a communication network.
 7. The apparatus of any one of claims 1, 3, or 4, wherein said processing device processes a financial transaction.
 8. The method of any of claims 2, 5, or 6, further comprising: processing a financial transaction in conjunction with the processing of said digital representation of an image 